class CreateTickets < ActiveRecord::Migration
  def self.up
    create_table :tickets do |t|
      t.integer :created_user_id
      t.integer :assigned_user_id
      t.integer :category_id
      t.integer :platform_id
      t.string :url
      t.string :short_description
      t.string :long_description
      t.integer :status
      t.integer :priority

      t.timestamps
    end
  end

  def self.down
    drop_table :tickets
  end
end
